﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MinistryStandardPlatformBusiness.MessagePool.Entity
{
    public class GpsInfo
    {
        private string sim;   //sim卡
        public string Sim
        {
            get { return sim; }
            set { sim = value; }
        }

        private string longitude; //经度
        public string Longitude
        {
            get { return longitude; }
            set { longitude = value; }
        }


        private string latitude; //纬度
        public string Latitude
        {
            get { return latitude; }
            set { latitude = value; }
        }


        private string direction;  //表示方向
        public string Direction
        {
            get { return direction; }
            set { direction = value; }
        }

        private string gpsStatus; //GPS状态
        public string GpsStatus
        {
            get { return gpsStatus; }
            set { gpsStatus = value; }
        }

        private string altitude; //高度
        public string Altitude
        {
            get { return altitude; }
            set { altitude = value; }
        }

        private string speed;  //速度
        public string Speed
        {
            get { return speed; }
            set { speed = value; }
        }

        private string devSpeed;   //速度，行驶记录功能获取的速度
        public string DevSpeed
        {
            get { return devSpeed; }
            set { devSpeed = value; }
        }


        private string mileage;  //里程（对应车上里程表读数）
        public string Mileage
        {
            get { return mileage; }
            set { mileage = value; }
        }

        private string gpsmileage;  //里程
        public string GpsMileage
        {
            get { return gpsmileage; }
            set { gpsmileage = value; }
        }


        private string oilVolumn;  //油量（对应车上油量表读数）
        public string OilVolumn
        {
            get { return oilVolumn; }
            set { oilVolumn = value; }
        }


        private string datetime;  //当前时间：YYYY-MM-DD HH-mm-ss
        public string Datetime
        {
            get { return datetime; }
            set { datetime = value; }
        }

        public bool isCheckedFlag { set; get; }


        private string idtime; //
        public string Idtime
        {
            get { return idtime; }
            set { idtime = value; }
        }

        #region //车辆状态信息(初始化为-1，表示状态不定)

        private string accstatus; //ACC状态1开，0关
        public string Accstatus
        {
            get { return accstatus; }
            set { accstatus = value; }
        }

        private string workstatus; //运营状态：0运行，1停运
        public string Workstatus
        {
            get { return workstatus; }
            set { workstatus = value; }
        }

        private string llsecret; //经纬度加密状态：0不加密，1加密
        public string Llsecret
        {
            get { return llsecret; }
            set { llsecret = value; }
        }

        private string gpsmode; //GPS模式：1单北斗，2单GPS，3双模
        public string Gpsmode
        {
            get { return gpsmode; }
            set { gpsmode = value; }
        }

        private string oilwaystatus; //油路状态：1正常，0断开
        public string Oilwaystatus
        {
            get { return oilwaystatus; }
            set { oilwaystatus = value; }
        }

        private string vcstatus; //车辆电路状态:1正常，0断开
        public string Vcstatus
        {
            get { return vcstatus; }
            set { vcstatus = value; }
        }

        private string vdstatus; //车门状态:1加锁，0解锁
        public string Vdstatus
        {
            get { return vdstatus; }
            set { vdstatus = value; }
        }

        private string fdstatus; //前车门状态：1开，0关
        public string Fdstatus
        {
            get { return fdstatus; }
            set { fdstatus = value; }
        }

        private string bdstatus; //后车门状态：1开，0关
        public string Bdstatus
        {
            get { return bdstatus; }
            set { bdstatus = value; }
        }

        private string enginestatus; //发动机状态：1开，0关
        public string Enginestatus
        {
            get { return enginestatus; }
            set { enginestatus = value; }
        }

        private string conditionerstatus;//空调状态：1开，0关
        public string Conditionerstatus
        {
            get { return conditionerstatus; }
            set { conditionerstatus = value; }

        }

        private string brakestatus; //刹车状态：1刹车，0未刹车
        public string Brakestatus
        {
            get { return brakestatus; }
            set { brakestatus = value; }
        }

        private string ltstatus; //左转向状态：1开，0关
        public string Ltstatus
        {
            get { return ltstatus; }
            set { ltstatus = value; }
        }


        private string rtstatus; //右转向状态：1开，0关
        public string Rtstatus
        {
            get { return rtstatus; }
            set { rtstatus = value; }
        }

        private string farlstatus; //远光灯状态：1开，0关
        public string Farlstatus
        {
            get { return farlstatus; }
            set { farlstatus = value; }
        }


        private string nearlstatus; //近光灯状态：1开，0关
        public string Nearlstatus
        {
            get { return nearlstatus; }
            set { nearlstatus = value; }
        }

        private string pnstatus; //正反转状态：1转，0不转
        public string Pnstatus
        {
            get { return pnstatus; }
            set { pnstatus = value; }
        }

        private string shakestatus; //震动状态：1开，0关
        public string Shakestatus
        {
            get { return shakestatus; }
            set { shakestatus = value; }
        }

        private string hornstatus; //喇叭状态：1开，0关
        public string Hornstatus
        {
            get { return hornstatus; }
            set { hornstatus = value; }
        }

        private string protectstatus; //安全状态：1设防，0解防
        public string Protectstatus
        {
            get { return protectstatus; }
            set { protectstatus = value; }
        }

        private string loadstatus; //负载状态：1重载，0空载
        public string Loadstatus
        {
            get { return loadstatus; }
            set { loadstatus = value; }
        }

        private string busstatus; //总线状态:0正常，1故障
        public string Busstatus
        {
            get { return busstatus; }
            set { busstatus = value; }
        }

        private string gsmstatus; //GSM模块状态，0正常，1故障
        public string Gsmstatus
        {
            get { return gsmstatus; }
            set { gsmstatus = value; }
        }

        private string gpsstatus; //GPS模块状态，0正常，1故障
        public string Gpsstatus
        {
            get { return gpsstatus; }
            set { gpsstatus = value; }
        }

        private string lcstatus; //锁车电路状态，0正常，1故障
        public string Lcstatus
        {
            get { return lcstatus; }
            set { lcstatus = value; }
        }

        private string ffstatus; //前雾灯状态:1开，0关
        public string Ffstatus
        {
            get { return ffstatus; }
            set { ffstatus = value; }
        }


        private string bfstatus; //后雾灯状态：1开，0关
        public string Bfstatus
        {
            get { return bfstatus; }
            set { bfstatus = value; }
        }

        private string gpsantstatus; //GPS天线状态：（0正常，1短路，2断路,3未知）
        public string Gpsantstatus
        {
            get { return gpsantstatus; }
            set { gpsantstatus = value; }
        }

        #endregion

        #region //车辆报警状态(初始化为-1，表示报警状态不定,1 表示报警，0表示不报警)
        private string soswarn; //紧急报警，触动报警开关后触发
        public string Soswarn
        {
            get { return soswarn; }
            set { soswarn = value; }
        }

        private string overspeedwarn; //超速报警
        public string Overspeedwarn
        {
            get { return overspeedwarn; }
            set { overspeedwarn = value; }
        }

        private string tiredwarn; //疲劳驾驶
        public string Tiredwarn
        {
            get { return tiredwarn; }
            set { tiredwarn = value; }
        }
        private string prewarn; //预警
        public string Prewarn
        {
            get { return prewarn; }
            set { prewarn = value; }
        }
        private string gnssfatal; //GNSS模块故障
        public string Gnssfatal
        {
            get { return gnssfatal; }
            set { gnssfatal = value; }
        }

        private string gnssantwarn; //GNSS天线未接或被剪断
        public string Gnssantwarn
        {
            get { return gnssantwarn; }
            set { gnssantwarn = value; }
        }

        private string gnssshortwarn; //GNSS天线短路
        public string Gnssshortwarn
        {
            get { return gnssshortwarn; }
            set { gnssshortwarn = value; }
        }

        private string lowvolwarn; //终端主电源欠压
        public string Lowvolwarn
        {
            get { return lowvolwarn; }
            set { lowvolwarn = value; }
        }

        private string highvolwarn; //终端主电源高压
        public string Highvolwarn
        {
            get { return highvolwarn; }
            set { highvolwarn = value; }
        }

        private string outagewarn; //终端主电源断电
        public string Outagewarn
        {
            get { return outagewarn; }
            set { outagewarn = value; }
        }

        private string lcdfatalwarn; //终端LCD或者显示器故障
        public string Lcdfatalwarn
        {
            get { return lcdfatalwarn; }
            set { lcdfatalwarn = value; }
        }

        private string ttsfatalwarn; //TTS模块故障
        public string Ttsfatalwarn
        {
            get { return ttsfatalwarn; }
            set { ttsfatalwarn = value; }

        }

        private string camerafatalwarn; //摄像头故障
        public string Camerafatalwarn
        {
            get { return camerafatalwarn; }
            set { camerafatalwarn = value; }

        }

        private string vediolosewarn; //视频丢失报警
        public string Vediolosewarn
        {
            get { return vediolosewarn; }
            set { vediolosewarn = value; }
        }

        private string vedioshelterwarn; //视频遮挡报警
        public string Vedioshelterwarn
        {
            get { return vedioshelterwarn; }
            set { vedioshelterwarn = value; }
        }


        private string accumtimeout; //当天累计驾驶超时
        public string Accumtimeout
        {
            get { return accumtimeout; }
            set { accumtimeout = value; }
        }

        private string stoptimeout; //超时停车
        public string Stoptimeout
        {
            get { return stoptimeout; }
            set { stoptimeout = value; }

        }

        private string inoutareawarn; //进出区域报警（-1不报警，0出报警，1进报警，2报警）
        public string Inoutareawarn
        {
            get { return inoutareawarn; }
            set { inoutareawarn = value; }

        }

        private string inoutlinewarn; //进出录像报警（-1不报警，0出报警，1进报警，2报警）
        public string Inoutlinewarn
        {
            get { return inoutlinewarn; }
            set { inoutlinewarn = value; }

        }

        private string drivingtimewarn; //路段行驶时间不足/过长报警
        public string Drivingtimewarn
        {
            get { return drivingtimewarn; }
            set { drivingtimewarn = value; }

        }

        private string deviatewarn;//路线偏离报警
        public string Deviatewarn
        {
            get { return deviatewarn; }
            set { deviatewarn = value; }

        }

        private string vssfatalwarn; //车辆VSS故障	
        public string Vssfatalwarn
        {
            get { return vssfatalwarn; }
            set { vssfatalwarn = value; }

        }

        private string oilexceptionwarn; //车辆油量异常报警（0低油量，1异常上升，2异常下降）
        public string Oilexceptionwarn
        {
            get { return oilexceptionwarn; }
            set { oilexceptionwarn = value; }

        }

        private string vehiclestolenwarn; //车辆被盗报警
        public string Vehiclestolenwarn
        {
            get { return vehiclestolenwarn; }
            set { vehiclestolenwarn = value; }

        }

        private string illignitewarn; //非法点火报警
        public string Illignitewarn
        {
            get { return illignitewarn; }
            set { illignitewarn = value; }

        }

        private string illmovewarn; //非法位移报警
        public string Illmovewarn
        {
            get { return illmovewarn; }
            set { illmovewarn = value; }

        }

        private string crashwarn; //碰撞侧翻报警
        public string Crashwarn
        {
            get { return crashwarn; }
            set { crashwarn = value; }

        }


        private string sdexceptionwarn; //SD卡异常报警
        public string Sdexceptionwarn
        {
            get { return sdexceptionwarn; }
            set { sdexceptionwarn = value; }

        }

        private string robwarn; //劫警
        public string Robwarn
        {
            get { return robwarn; }
            set { robwarn = value; }

        }


        private string sleeptimewarn; //司机停车休息时间不足报警
        public string Sleeptimewarn
        {
            get { return sleeptimewarn; }
            set { sleeptimewarn = value; }

        }

        private string illtimedrivingwarn; //非法时段行驶报警
        public string Illtimedrivingwarn
        {
            get { return illtimedrivingwarn; }
            set { illtimedrivingwarn = value; }

        }

        private string overstationwarn; //越战报警
        public string Overstationwarn
        {
            get { return overstationwarn; }
            set { overstationwarn = value; }

        }

        private string ilopendoorwarn; //非法开车门报警
        public string Ilopendoorwarn
        {
            get { return ilopendoorwarn; }
            set { ilopendoorwarn = value; }

        }

        private string protectwarn; //设防报警
        public string Protectwarn
        {
            get { return protectwarn; }
            set { protectwarn = value; }

        }

        private string trimmingwarn; //剪线报警
        public string Trimmingwarn
        {
            get { return trimmingwarn; }
            set { trimmingwarn = value; }

        }

        private string passwdwarn; //密码错误报警
        public string Passwdwarn
        {
            get { return passwdwarn; }
            set { passwdwarn = value; }

        }

        private string prohibitmovewarn; //禁行报警
        public string Prohibitmovewarn
        {
            get { return prohibitmovewarn; }
            set { prohibitmovewarn = value; }

        }


        private string illstopwarn; //非法停车报警   
        public string Illstopwarn
        {
            get { return illstopwarn; }
            set { illstopwarn = value; }

        }

        #endregion



    }
}
